package com.ant.backstage.dao;

import com.ant.backstage.facade.model.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* Created by Mybatis Generator 2022/01/13
*/
public interface TagMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Tag record);

    Tag selectByPrimaryKey(Integer id);

    List<Tag> selectAll();

    int updateByPrimaryKey(Tag record);

    List<Tag> selectTagsListByIds(@Param("tagsIds")List<String> tagsIds);

    List<Tag> selectTagsListByType(@Param("type")String type);

}